[
    {
        "type": "namespace",
        "name": "Fun",
        "file": "C:\\www\\fun\\fun\\fun.zep",
        "line": 2,
        "char": 5
    },
    {
        "type": "class",
        "name": "Fun",
        "abstract": 0,
        "final": 0,
        "definition": {
            "methods": [
                {
                    "visibility": [
                        "public",
                        "static"
                    ],
                    "type": "method",
                    "name": "dump",
                    "parameters": [
                        {
                            "type": "parameter",
                            "name": "t",
                            "const": 0,
                            "data-type": "variable",
                            "mandatory": 0,
                            "reference": 0,
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 4,
                            "char": 30
                        }
                    ],
                    "statements": [
                        {
                            "type": "echo",
                            "expressions": [
                                {
                                    "type": "concat",
                                    "left": {
                                        "type": "concat",
                                        "left": {
                                            "type": "string",
                                            "value": "<pre>",
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 5,
                                            "char": 13
                                        },
                                        "right": {
                                            "type": "fcall",
                                            "name": "print_r",
                                            "call-type": 1,
                                            "parameters": [
                                                {
                                                    "parameter": {
                                                        "type": "variable",
                                                        "value": "t",
                                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                                        "line": 5,
                                                        "char": 23
                                                    },
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 5,
                                                    "char": 23
                                                },
                                                {
                                                    "parameter": {
                                                        "type": "bool",
                                                        "value": "true",
                                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                                        "line": 5,
                                                        "char": 28
                                                    },
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 5,
                                                    "char": 28
                                                }
                                            ],
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 5,
                                            "char": 29
                                        },
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 5,
                                        "char": 29
                                    },
                                    "right": {
                                        "type": "string",
                                        "value": "<\/pre>",
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 5,
                                        "char": 36
                                    },
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 5,
                                    "char": 36
                                }
                            ],
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 6,
                            "char": 1
                        }
                    ],
                    "file": "C:\\www\\fun\\fun\\fun.zep",
                    "line": 4,
                    "last-line": 8,
                    "char": 22
                },
                {
                    "visibility": [
                        "public",
                        "static"
                    ],
                    "type": "method",
                    "name": "json",
                    "parameters": [
                        {
                            "type": "parameter",
                            "name": "code",
                            "const": 0,
                            "data-type": "int",
                            "mandatory": 0,
                            "default": {
                                "type": "int",
                                "value": "200",
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 8,
                                "char": 41
                            },
                            "reference": 0,
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 8,
                            "char": 41
                        },
                        {
                            "type": "parameter",
                            "name": "message",
                            "const": 0,
                            "data-type": "string",
                            "mandatory": 0,
                            "default": {
                                "type": "string",
                                "value": "\u8bf7\u6c42\u6210\u529f",
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 8,
                                "char": 69
                            },
                            "reference": 0,
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 8,
                            "char": 69
                        },
                        {
                            "type": "parameter",
                            "name": "list",
                            "const": 0,
                            "data-type": "variable",
                            "mandatory": 0,
                            "default": {
                                "type": "empty-array",
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 8,
                                "char": 81
                            },
                            "reference": 0,
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 8,
                            "char": 81
                        },
                        {
                            "type": "parameter",
                            "name": "total",
                            "const": 0,
                            "data-type": "variable",
                            "mandatory": 0,
                            "default": {
                                "type": "int",
                                "value": "0",
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 8,
                                "char": 93
                            },
                            "reference": 0,
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 8,
                            "char": 93
                        }
                    ],
                    "statements": [
                        {
                            "type": "declare",
                            "data-type": "variable",
                            "variables": [
                                {
                                    "variable": "json1",
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 9,
                                    "char": 10
                                }
                            ],
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 10,
                            "char": 3
                        },
                        {
                            "type": "let",
                            "assignments": [
                                {
                                    "assign-type": "variable",
                                    "operator": "assign",
                                    "variable": "json1",
                                    "expr": {
                                        "type": "array",
                                        "left": [
                                            {
                                                "key": {
                                                    "type": "string",
                                                    "value": "code",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 10,
                                                    "char": 17
                                                },
                                                "value": {
                                                    "type": "variable",
                                                    "value": "code",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 10,
                                                    "char": 22
                                                },
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 10,
                                                "char": 22
                                            },
                                            {
                                                "key": {
                                                    "type": "string",
                                                    "value": "message",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 10,
                                                    "char": 30
                                                },
                                                "value": {
                                                    "type": "variable",
                                                    "value": "message",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 10,
                                                    "char": 38
                                                },
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 10,
                                                "char": 38
                                            }
                                        ],
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 10,
                                        "char": 39
                                    },
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 10,
                                    "char": 39
                                }
                            ],
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 11,
                            "char": 2
                        },
                        {
                            "type": "if",
                            "expr": {
                                "type": "list",
                                "left": {
                                    "type": "not",
                                    "left": {
                                        "type": "empty",
                                        "left": {
                                            "type": "list",
                                            "left": {
                                                "type": "variable",
                                                "value": "list",
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 11,
                                                "char": 16
                                            },
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 11,
                                            "char": 17
                                        },
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 11,
                                        "char": 17
                                    },
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 11,
                                    "char": 17
                                },
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 11,
                                "char": 19
                            },
                            "statements": [
                                {
                                    "type": "let",
                                    "assignments": [
                                        {
                                            "assign-type": "array-index",
                                            "operator": "assign",
                                            "variable": "json1",
                                            "index-expr": [
                                                {
                                                    "type": "string",
                                                    "value": "list",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 12,
                                                    "char": 21
                                                }
                                            ],
                                            "expr": {
                                                "type": "variable",
                                                "value": "list",
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 12,
                                                "char": 29
                                            },
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 12,
                                            "char": 29
                                        }
                                    ],
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 13,
                                    "char": 9
                                }
                            ],
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 14,
                            "char": 10
                        },
                        {
                            "type": "if",
                            "expr": {
                                "type": "list",
                                "left": {
                                    "type": "not",
                                    "left": {
                                        "type": "empty",
                                        "left": {
                                            "type": "list",
                                            "left": {
                                                "type": "variable",
                                                "value": "total",
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 14,
                                                "char": 25
                                            },
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 14,
                                            "char": 26
                                        },
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 14,
                                        "char": 26
                                    },
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 14,
                                    "char": 26
                                },
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 14,
                                "char": 28
                            },
                            "statements": [
                                {
                                    "type": "let",
                                    "assignments": [
                                        {
                                            "assign-type": "array-index",
                                            "operator": "assign",
                                            "variable": "json1",
                                            "index-expr": [
                                                {
                                                    "type": "string",
                                                    "value": "total",
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 15,
                                                    "char": 21
                                                }
                                            ],
                                            "expr": {
                                                "type": "variable",
                                                "value": "total",
                                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                                "line": 15,
                                                "char": 30
                                            },
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 15,
                                            "char": 30
                                        }
                                    ],
                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                    "line": 16,
                                    "char": 9
                                }
                            ],
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 17,
                            "char": 14
                        },
                        {
                            "type": "fcall",
                            "expr": {
                                "type": "fcall",
                                "name": "header",
                                "call-type": 1,
                                "parameters": [
                                    {
                                        "parameter": {
                                            "type": "string",
                                            "value": "Content-type: application\/json",
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 17,
                                            "char": 46
                                        },
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 17,
                                        "char": 46
                                    }
                                ],
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 17,
                                "char": 47
                            },
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 18,
                            "char": 11
                        },
                        {
                            "type": "fcall",
                            "expr": {
                                "type": "fcall",
                                "name": "exit",
                                "call-type": 1,
                                "parameters": [
                                    {
                                        "parameter": {
                                            "type": "fcall",
                                            "name": "json_encode",
                                            "call-type": 1,
                                            "parameters": [
                                                {
                                                    "parameter": {
                                                        "type": "variable",
                                                        "value": "json1",
                                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                                        "line": 18,
                                                        "char": 30
                                                    },
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 18,
                                                    "char": 30
                                                },
                                                {
                                                    "parameter": {
                                                        "type": "constant",
                                                        "value": "JSON_UNESCAPED_UNICODE",
                                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                                        "line": 18,
                                                        "char": 53
                                                    },
                                                    "file": "C:\\www\\fun\\fun\\fun.zep",
                                                    "line": 18,
                                                    "char": 53
                                                }
                                            ],
                                            "file": "C:\\www\\fun\\fun\\fun.zep",
                                            "line": 18,
                                            "char": 54
                                        },
                                        "file": "C:\\www\\fun\\fun\\fun.zep",
                                        "line": 18,
                                        "char": 54
                                    }
                                ],
                                "file": "C:\\www\\fun\\fun\\fun.zep",
                                "line": 18,
                                "char": 55
                            },
                            "file": "C:\\www\\fun\\fun\\fun.zep",
                            "line": 19,
                            "char": 1
                        }
                    ],
                    "file": "C:\\www\\fun\\fun\\fun.zep",
                    "line": 8,
                    "last-line": 20,
                    "char": 22
                }
            ],
            "file": "C:\\www\\fun\\fun\\fun.zep",
            "line": 2,
            "char": 5
        },
        "file": "C:\\www\\fun\\fun\\fun.zep",
        "line": 2,
        "char": 5
    }
]